Binding of Isaac - Afterbirth+ Lua Reference/Guide
EntityEffect Class Reference
Inheritance diagram for EntityEffect:
Entity

Public Member Functions

 SetTimeout (integer Timeout)
 
 FollowParent (Entity Parent)
 
 SetDamageSource (EntityType DamageSource)
 
 SetRadii (float min, float max)
 
- Public Member Functions inherited from Entity
table GetData ()
 
 Update ()
 
 Render (Vector Offset)
 
boolean RenderShadowLayer (Vector Offset)
 
 PostRender ()
 
boolean TakeDamage (float Damage, integer Flags, EntityRef Source, integer DamageCountdown)
 
boolean HasMortalDamage ()
 
 Kill ()
 
 Die ()
 
 Remove ()
 
 BloodExplode ()
 
 AddVelocity (Vector Velocity)
 
 MultiplyFriction (float Value)
 
 SetColor (Color Color, integer Duration, integer Priority, boolean Fadeout, boolean Share)
 
const ColorGetColor ()
 
 SetSpriteFrame (string AnimationName, integer FrameNum)
 
 SetSpriteOverlayFrame (string AnimationName, integer FrameNum)
 
 SetSize (float Size, Vector SizeMulti, integer NumGridCollisionPoints)
 
boolean CollidesWithGrid ()
 
boolean IsEnemy ()
 
boolean IsActiveEnemy (boolean includeDead)
 
boolean IsVulnerableEnemy ()
 
boolean IsFlying ()
 
 AddEntityFlags (integer Flags)
 
 ClearEntityFlags (integer Flags)
 
integer GetEntityFlags ()
 
boolean HasEntityFlags (integer Flags)
 
boolean HasFullHealth ()
 
 AddHealth (float HitPoints)
 
 AddPoison (EntityRef Source, integer Duration, float Damage)
 
 AddFreeze (EntityRef Source, integer Duration)
 
 AddSlowing (EntityRef Source, integer Duration, float SlowValue, Color SlowColor)
 
 AddCharmed (integer Duration)
 
 AddConfusion (EntityRef Source, integer Duration, boolean IgnoreBosses)
 
 AddMidasFreeze (EntityRef Source, integer Duration)
 
 AddFear (EntityRef Source, integer Duration)
 
 AddBurn (EntityRef Source, integer Duration, float Damage)
 
 AddShrink (EntityRef Source, integer Duration)
 
 RemoveStatusEffects ()
 
boolean Exists ()
 
boolean IsDead ()
 
boolean IsVisible ()
 
boolean IsInvincible ()
 
boolean CanShutDoors ()
 
boolean IsBoss ()
 
BossId GetBossID ()
 
EntityGetLastParent ()
 
EntityGetLastChild ()
 
boolean HasCommonParentWithEntity (Entity Other)
 
boolean IsFrame (integer Frame, integer Offset)
 
RNGGetDropRNG ()
 
SpriteGetSprite ()
 
EntityPlayer ToPlayer ()
 
EntityEffect ToEffect ()
 
EntityNPC ToNPC ()
 
EntityPickup ToPickup ()
 
EntityFamiliar ToFamiliar ()
 

Static Public Member Functions

static boolean IsPlayerCreep (integer Variant)
 

Public Attributes

float Rotation
 
float Scale
 
float FallingSpeed
 
float FallingAcceleration
 
float m_Height
 
integer State
 
float MinRadius
 
float MaxRadius
 
integer Timeout
 
integer LifeSpan
 
boolean IsFollowing
 
Vector ParentOffset
 
EntityType DamageSource
 
- Public Attributes inherited from Entity
float Friction
 
Vector Position
 
Vector Velocity
 
const EntityType Type
 
integer Variant
 
integer SubType
 
EntityType SpawnerType
 
integer SpawnerVariant
 
const ColorSplatColor
 
boolean Visible
 
const VectorPositionOffset
 
integer RenderZOffset
 
boolean FlipX
 
const VectorSpriteOffset
 
const VectorSpriteScale
 
float SpriteRotation
 
Vector SizeMulti
 
float Mass
 
float MaxHitPoints
 
float HitPoints
 
const integer Index
 
const VectorTargetPosition
 
GridCollisionClass GridCollisionClass
 
EntityCollisionClass EntityCollisionClass
 
float CollisionDamage
 
const integer SpawnGridIndex
 
EntityParent
 
EntityChild
 
EntityTarget
 
EntitySpawnerEntity
 
const integer FrameCount
 
const integer InitSeed
 
const integer DropSeed
 
float DepthOffset
 

Additional Inherited Members

- Static Public Attributes inherited from Entity
static Color Color
 
static float Size
 

Member Function Documentation

◆ FollowParent()

EntityEffect::FollowParent ( Entity  Parent)

◆ IsPlayerCreep()

static boolean EntityEffect::IsPlayerCreep ( integer  Variant)
static

◆ SetDamageSource()

EntityEffect::SetDamageSource ( EntityType  DamageSource)

◆ SetRadii()

EntityEffect::SetRadii ( float  min,
float  max 
)

◆ SetTimeout()

EntityEffect::SetTimeout ( integer  Timeout)

Member Data Documentation

◆ DamageSource

EntityType EntityEffect::DamageSource

◆ FallingAcceleration

float EntityEffect::FallingAcceleration

◆ FallingSpeed

float EntityEffect::FallingSpeed

◆ IsFollowing

boolean EntityEffect::IsFollowing

◆ LifeSpan

integer EntityEffect::LifeSpan

◆ m_Height

float EntityEffect::m_Height

◆ MaxRadius

float EntityEffect::MaxRadius

◆ MinRadius

float EntityEffect::MinRadius

◆ ParentOffset

Vector EntityEffect::ParentOffset

◆ Rotation

float EntityEffect::Rotation

◆ Scale

float EntityEffect::Scale

◆ State

integer EntityEffect::State

◆ Timeout

integer EntityEffect::Timeout